		<?php 
		
		$ncomments = $this->noticias_model->getnComment($id);?>
		<h3><?php echo $ncomments;?> Comentarios</h3><hr />
		<?php 
		$comments = $this->noticias_model->getComments($id);
		foreach($comments->result() as $com):?>
		<div >
		<span><?php echo $com->fechacomentario.' | <em>'.$com->nombre.'</em>    '; 
		if($this->session->userdata('nivel') == 1 OR $this->session->userdata('nivel') == 2){
			echo '| <a href="javascript:delcomment('.$com->idtabla_comentario.','.$id.',1)">Eliminar</a> comentario';
		}
		?>
		
		</span>
		<p><?php echo $com->comentario;?></p>
		<hr />	
		</div>
		<?php endforeach;?>